package io.renren.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.commons.tools.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 费用配置
*
* @author liuyujun 384880231@qq.com
* @since 3.0 2022-01-13
*/
@Data
@ApiModel(value = "费用配置")
public class CostConfigDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID",hidden = true)
    private Long id;
    @ApiModelProperty(value = "费用名称",required = true)
    private String name;
    @ApiModelProperty(value = "收费模式",required = true)
    private Integer chargingMode;
    @ApiModelProperty(value = "预计时间",required = true)
    private Double estimateTime;
    @ApiModelProperty(value = "单价",required = true)
    private Double unitPrice;
    @ApiModelProperty(value = "所属者",hidden = true)
    private String owner;
    @ApiModelProperty(value = "创建人",hidden = true)
    private String creator;
    @ApiModelProperty(value = "创建时间",hidden = true)
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "逻辑删除",hidden = true)
    private Boolean logicalDelete;

}